<div class="modal-header">
    <button type="button" class="close" data-ng-click="cancel();"><span aria-hidden="true">&times;</span></button>
    <h4 class="modal-title" id="myModalLabel">{{mainTitle}}</h4>
</div>
<div class="modal-body" style="max-height: 570px;overflow: auto;transition: height 1s linear">
    <div class="table-responsive">
        <div class="panel panel-default">
            <!-- 表格部分 -->
            <div class="table-responsive">
                <table class="table table-hover b-t b-light">
                    <thead>
                    <tr>
                        <th width="1%"><label class="checkbox m-n i-checks"> <input type="checkbox"
                                                                                    ng-click="toggleAll()" ng-checked="isSelectAll"> <i></i>
                        </label></th>
                        <th width="1%">序号</th>
                        <th width="35%">公司名称</th>
                        <th width="14%">联系人</th>
                        <th width="12%">联系方式</th>
                        <th width="25%">营业类型</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr data-ng-repeat="vo in objList" class="activity-list-table txtl fontColor-{{vo.id==selContentId}}"  ng-class-even="'even'" >
                        <td class="chk" >
                            <label class="checkbox m-n i-checks">
                                <!-- 		1、{{!haveSels.contains(vo.id)}}
                                        2、{{vo.id == selContentId && !haveSels.contains(vo.id)}}
                                        3、{{vo.id != selContentId && haveSels.contains(vo.id)}} -->
                                <input data-ng-if="haveSels.newsId!=vo.id" type="checkbox"  ng-checked="selObjList[vo.id]" style="cursor: pointer" data-ng-click="toggleSingle(vo)">
                                <input data-ng-if="vo.id == selNewsId && haveSels.newsId==vo.id" type="checkbox"  ng-checked="selObjList[vo.id]" style="cursor: pointer" data-ng-click="toggleSingle(vo)">
                                <input data-ng-if="vo.id != selNewsId && haveSels.newsId==vo.id" disabled="disabled"  type="checkbox"  ng-checked="selObjList[vo.id]" style="cursor: pointer" data-ng-click="toggleSingle(vo)">
                                <i></i>
                            </label>
                        </td>
                        <td>{{$index + 1}}</td>
                        <td>{{vo.company}}</td>
                        <td>{{vo.fddbz}}</td>
                        <td>{{vo.tel}}</td>
                        <td>{{vo.type}}</td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
<div class="modal-footer">
    <div class="pull-right">
        <button type="button" class="btn btn-primary btn-s-xs" data-ng-click="ok()">选 择</button>
        <button type="button" class="btn btn-default btn-s-xs" data-ng-click="cancel()">取 消</button>
    </div>
</div>